
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);
const state={
  isCollapse:false,
}

export default new Vuex.Store({
  state: {
    messageNumber:3,
    telephoneAuthorized:false,
  },
  mutations: {
    setMessageNumber(state,data) {
      this.state.messageNumber = data
    },
    setTelephoneAuthorized(state,data) {
      this.state.telephoneAuthorized = data
    },
  }
});
